package org.litespring.beans.factory;

import java.util.List;

/**
 * @author ChangLiang
 * @date 2020/7/21
 */
public interface BeanFactory {

    Object getBean(String beanId);

    Class<?> getType(String beanId) throws NoSuchBeanDefinitionException;

    List<Object> getBeansByType(Class<?> type);
}
